package com.fxl.majiang.message.output;

import com.fxl.majiang.enums.TilesEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author fengxinglei
 * @date 2022/8/9 16:04
 * @description 用户吃牌提醒
 */
@Data
public class OutputChiMsgData implements OutputMessageData {

    private static final long serialVersionUID = -1444368034033385000L;
    /**
     * 用户userId
     */
    private String userId;

    /**
     * 上家userId
     */
    private String previousUserId;

    /**
     * 吃的牌组，包括吃掉的牌
     */
    private List<TilesEnum> tiles;

    /**
     * 选择的牌
     */
    private List<TilesEnum> selectedTiles;

    public OutputChiMsgData(String userId,String previousUserId, List<TilesEnum> tiles, List<TilesEnum> selectedTiles) {
        this.userId = userId;
        this.previousUserId = previousUserId;
        this.tiles = tiles;
        this.selectedTiles = selectedTiles;
    }
}
